<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<div th:insert="/common.html"></div>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form id="insert_form">
    <div class="form-group">
        <label for="name">账号</label>
        <input type="text" class="form-control" name="pname"  id="name"
               placeholder="请输入账号"><span id="pname"></span>
        <div id="tips"></div>
    </div>
    <br>
    职务：
    <th:block th:each="list : ${list}">
        <input type="checkbox" name="roleId" th:value="${list.roleId}">[[${list.roleName}]]
    </th:block>
</form>
</body>
</html>